package org.springblade.modules.system.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.tenant.mp.TenantEntity;

import java.math.BigDecimal;

/**
 * 实体类
 *
 * @author Chill
 */
@Data
@TableName("blade_user")
@EqualsAndHashCode(callSuper = true)
public class User extends TenantEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 用户编号
     */
    private String code;
    /**
     * 账号
     */
    private String account;
    /**
     * 密码
     */
    private String password;
    /**
     * 昵称
     */
    private String name;
    /**
     * 真名
     */
    private String realName;
    /**
     * 头像
     */
    private String avatar;
    /**
     * 邮箱
     */
    private String email;
    /**
     * 手机
     */
    private String phone;
    /**
     * 生日
     */
    private String birthday;
    /**
     * 性别
     */
    private Integer sex;
    /**
     * 角色id
     */
    private String roleId;
    /**
     * 部门id
     */
    private String deptId;
    /**
     * 岗位id
     */
    private String postId;

    private String address;


    private String idcard;


    //////////省市区 编号冗余
    private String proncecode;
    private String proncename;
    private String citycode;
    private String cityname;
    private String areacode;
    private String areaname;


    //用户类型
    private String usertype;

    //门店照片
    private String storeimage;
    //主营业务编号冗余
    private String masbusicode;
    //主营业务名称
    private String masbusiname;

    //汽配code
    private String qpccode;
    //汽配城name
    private String qpcname;

    //身份证手持照
    private String idcardpic;
    //车和人照片
    private String peocarpic;
    //审核状态
    private Integer shstatus;

    private BigDecimal accountmoney;

    //weix openid
    private String wxopenid;

    //联系方式
    private String contactnum;

    ///满意度
    private String workermyd;

    @TableField(exist = false)
    private String smscode;
//abandoned
//    private String jdcode;
//    private String jdname;
//    private String healthtag;
//    private String techang;
    ///市积分citycoal  areacoal区积分 jdcoal街道积分
//    private Integer citycoal;
//    private Integer areacoal;
//    private Integer jdcoal;
//    private Integer ages;
//    private String oldorg;
//    private String oldpos;
//    private String emergphone;

}
